more stable ServerThread