Check if the event loop is blocked