task_api is part of server, not worker