Merge "Prevent exit transition when a new task was started."