(refs #380)Close stream certainly