wait for pending stdout/stderr