each thread disconnects own connection only