Which sentence contains an inappropriate shift in tense?

A.
When the buzzer sounds, everyone in the factory is ready to go home.

B.
Occasionally, Steve's boa escapes and startles someone in the kitchen.

C.
David ran into the room when he hears the music.