Wait for the program to launch before addressing it