FIX: mprWaitForEvent fix