INTERIM: mprWaitForEvent fix