added functionality to stop containers