add transient() method to socket object.

invoke this method, a persistent socket object will become non-persistent. so if you want to close the connections of a persistent socket, call transient() and then unset().