Fixed issue when manual connection request performed after connection was closed because of network failure.
Now if connection is lost and client shouldn't try restore connection, state will be reset to disconnected.