Closing feature is introduced into ResultSetIterator.
Which indicates that the statement should be closed when finishing iteration.

Signed-off-by: 核心力量 <kernelforce@gmail.com>