if pid is undefined, ambassador will do nothing