updated for multiprocessing request handler