Run upload within the context of the appropriate worker.
This allows for proper execution on slaves