check if the event loop is blocked