Python Scanner: Shutdown multiprocessing manager

This fixes the scan_log function to be re-entrant.