If the connection fails, the client does not automatically reconnect itself - it just waits for a period of time and exits. Ideally it should reconnect itself and log the disconnection.