close the socket if player already exist.