refactor move - ThreadedServer instance