Try to fix problem where logging can't get a lock on a lck file