A listeria outbreak that killed 30 people in the US has come to an end, according to a statement from the Centers for Disease Prevention and Control (CDC).