In a few moments, they emerged, and Poirot at once stepped forward, and accosted the shorter of the two. 
As soon as they emerged, Poirot stepped forward.
When they emerged, Poirot immediately turned and walked away.