Trap some exceptions occuring during the recording of the number of downloads.