adding error for download if no internet and cleaning up initiate