on 1:sockclose:name:commands
The sockclose event is triggered when a connection is closed by the remote connection (not you).