Fix: lrmd: Cancel recurring operations before stop action is executed
Fix: mainloop: Fixes use after free in process monitor code