HTML page tries to reconnect