Escape from serial stimuli leading to food