Bug 936979: websocket will never connected after a lot of failure r=mcmanus