Close Connection if an exception occurs between opening and returning the CloseableStream