ensure that exec() is called when stopping containers