Make sure StoredFileInfo objects are freed on the background thread