Take process ID from ::getpid and not from file.