Use sudo kill instead of os.kill

Apparently os.kill runs as the current user who does not have
permissions to send signals to processes started with sudo,
whcih is exactly the kind of process we are targeting