单项选择题

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

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