Change order of task submission, fixes potential halt with ThreadPerTaskScheduler
Fix erratic thread behavior