Sometimes firefox isn't ready even when it says it is.