Bug 974048 - Refine waits when connecting to a WiFi network