[checkmk-commits] Added some non blocking locking and pid_file handling code