adding better wait for more robust downloads