Destroy streams before container shutdown