close.socket to close