moves clean-up triggering to the BaseActivityWorker

This has the advantage that clean-up is delayed until after the result has been
sent to the server, and therefore, will allow executions to advance without
having to wait for clean-up to complete.