keep-an-eye-on: waits until some external process exits and does something