One strategy many retail and restaurant chains have been taking lately is closing locations that are not performing well.