Fixed event loop to always run