Added async proc waiting