Added initial version of wait-complete processing (currently wrong chan out)