awaiting for child proc to complete implemented