Takashi Kajinami 7b5868266a Do not require the close method for response iterator
Since fb08d477eb7bf5e678b9cd99b44a435842a7dfbf was merged, storlets
invocation on proxy fails because the close method is called even if
iterator has list_iterator type which doesn't have the close method.

This change replaces the direct call of the close method by
close_if_possible, to avoid Exception if the response iterator is
list or tuple, which don't support the close method.

Change-Id: I851cbb17465b5693dda5206aeae0a3191c9fe4f4
Closes-Bug: #1901453
2020-10-29 15:39:34 -07:00
..
2019-06-19 09:54:14 -07:00