gracefully exit if the target is not found