run background processes with threading, because needed a lock anyway so just wrote code more general
run background processes with threading, because needed a lock anyway so just wrote code more general

mrakitin/sirepo,radiasoft/sirepo,radiasoft/sirepo,mkeilman/sirepo,radiasoft/sirepo,mrakitin/sirepo,mkeilman/sirepo,mrakitin/sirepo,mkeilman/sirepo,radiasoft/sirepo,mrakitin/sirepo,radiasoft/sirepo,mkeilman/sirepo