Add option 'try_flush_interval'

To do flushing with more high frequency with floating point value of flush_interval