removing linux-only /proc/ file-system and switching to cross-platform os.kill(pid, 0)