Wait for 10 seconds, checking for received events every 0.5 second