Called when the connection is lost or closed.
is either an exception object or $(D_KEYWORD null). The latter means a regular EOF is received, or the connection was aborted or closed by this side of the connection.
See Implementation
Called when the connection is lost or closed.