Fix for #4265 and (hopefully) #4251

#4265: Monitor abandons transfer jobs (correctly), but could give more information
#4251: Monitor component stops to process files
Also fixes a race condition I found while debugging: If the Monitor were stopped at certain points in its cycle it could lose information about jobs that were completed but not yet reported.