bug in reading & testing pid from nilsimsa.lock