FLUME-2259. Transaction closure not happening for all the scenario in HBaseSink.

(Gopinathan A via Hari Shreedharan)