Add event for socket disconnect