add timeout options for downloadStream