HBASE-11815 - Flush and compaction could just close the tmp writer if
there is an exception