Wait for the process to appear