AS-285 Jobs finished only after updating state

otter was shutting down before updating state on job completion. Fixed this by adding to job deferred to `supervisor.deferred_pool` only after state updation callbacks have been added.