单项选择题

The thief was caught ______ he was leaving the shop.

A. after
B. as
C. before