add window reload on reconnect failure
Merge pull request #13 from gsaunier/master

add window reload on reconnect failure