Make sure all temporary streams are being closed.