Close connection properly

Use a connection Close method, which happens to deauthorise user, as well as
close the connection.