Closing some possible leaked streams