change to disconnect from remote socket