There's a bug when you try to delete a connection or a database definition without turning off the connection. It is important to disconnect it, before executing such edit/delete operations, or just avoiding delete or edit operations when the connection is still active.