Added timeout to prevent front end from erroring on download