Fix getEvent from causing getEventNonBlocking to block