Updated task submittion workflow to handle possible worker queue
overflow.