don't try to 'kill' an empty pid / prevents warnings