Use synchronous XHR.