Fixed connection erroron page unload and updated timeout handler to require more user input