add window reload on reconnect failure