set timeout on XMLHttpRequests and added this feedback to progress bar