Change the core event loop mechanism