enable preload and better retries for XHR