Added logic to remove jobs that have been completed from the active_q to remove the bottleneck on the workers and potential race condition.
Added logic to remove jobs that have been completed from the active_q to
remove the bottleneck on the workers and potential race condition.

Added logic to post jobs from dead nodes which did not reach completed/failed states
to the pending queue for rerun.

yadudoc/cloud_kotta,yadudoc/cloud_kotta,yadudoc/cloud_kotta,yadudoc/cloud_kotta