Definitely don’t unfriend the person right before letting them go; if they notice, it’ll look ominous and awfully cold.