lockfile will be removed only by parent process (read/write pid in/to lockfile)