Vincent Teo, (a) is open to objection since the sequence of tenses is neglected here. Besides, it formally suggests that the action of 'coming by' took place against the background of some longer, continuous action - in this sense 'take' is impossible, since it implies momentary action in this very case. (b) - if your intention is to place emphasis on the duration of your waiting him, resort to past progressive.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.