Small tweak to how long it takes beacons to go out of range

Made the DownloadDatabaseHelper check the httpResponse, as there was a case when on a slow connection it would still register download complete, and would write an empty database. This seems to solve the issue.