When pulse abnormal and socket disconnect, emit retired event.
Update comment.
Rename event retired to retire.