Getting ready for a local release.
Sending close message on to remote socket.