onClose property

CloseCallback? onClose
getter/setter pair

This should be called by the Connector implementation after closing connection (socket close, etc)

Implementation

CloseCallback? onClose;