saving the last loaded url to recover after connection error