Update threadpoolserver.py

Fix import error