Emit a signal when the connection was unexpectedly closed so that it could be handled by user