get rid of goroutines on client socket