Bug fixes - note that in the end, when 1.8.1 did not resolve pool issues

* Tasks.getStatus no longer relies on Task.get
* Fixes erroneous call to self in Team.heartbeat
* Factory.getNextId now relies on Factory.execute