these two lines weren't getting run when using pyglet 1.2alpha1, because previously the `pyglet.media.dispatch_events()` line was in the same `try`/`catch` block.