emit event on reconnection