CONN-911: using existing StreamUtils class to close streams.