When multitasking can be dangerous