Stop container before removing it