单项选择题

I felt somewhat disappointed and was about to leave, ______ something occurred which attracted my attention.

A. unless
B. until
C. when
D. while