throw error instead of assert in certain cases (effective with SIGINT
interruption)
using lock file in all CMSSW processes on a single machine to prevent
writing EoL file before all index files of that lumi are moved