bugfix: use api_token for multiprocessing