Unable to close connection on server tentative when there is error
There is no possibility to close a connection to a server when Core is waiting from server response.
Basicaly when you've entered a wrong port number.
To test that create a set of server with non responding address and port.
fixing BR #207 - you can now disconnect from an IRC server while in a connecting state