Split autoclose task into subtasks.