fix hbase demo to close scanner