destroy command fixes

Handle the case when the container is stopped gracefuly