Properly kill processes holding CFEngine locks (Redmine #2330)