Store only hostPort in server connection.
Share server connection between clients.
Close server connection only once in doConnect.
Merge branch 'feature/share-conn' into develop