Listener is able to automatically reconnect