Made sure that we cloase all streams