fixed BATCH_SIZE period logic in JDBCBatcher