Handling closing a socket.
Able to transfer control and exit on owner exit.
Fixed typo and owner monitor on owner change
Able to change owner_exit mode at runtime.
Cleared warnings about unused variables.