Working queue

As per usual, comments are welcome :)

Fixes #380


This should be pipelined with `job.set_status` line above.