Add “refreshTimeoutOnRequest” option, as well as a minor bug fix.