Always call the processing queue completion handler.
We need to take a lock when we initialize the Result<> task environment on demand!
Don't allow setting of custom environment.
Merge pull request #124 from bjorg/DR-138

DR-138 tasks/activities become "stuck" in dream
Merge branch 'master' into DR-137