Update threadServer.py

works