Create generic_server_threaded.py