FLUME-2245. Pre-close flush failure can cause HDFS Sinks to not process events.

(Juhani Connolly, Brock Noland via Hari Shreedharan)