remove container after it's finished