Allow while loop to terminate when SDL no longer polls.