Add support for querying task status. Requires access to the AWE mongodb.