Detaching TCP server client threads