wait for check output