Fix flush scheduling in RedshiftBulkInsert.js