Couchbase Java Client

Fix reconnect logic when server closes the socket.