Concurrency issues when moving tasks to subtasks secured