Fix bug where autocomplete provider locks itself
Fix bug where autocomplete provider locks itself

Occurs when no default connection has been specified in the config and the user triggers the auto-completion in a SQL-language pane where no connection has yet been chosen.
rikard2/pg-hoff,rikard2/pg-hoff