Retry flush/close in HadoopBroker on IOException