Don't start a goroutine when flushing buffer
Make use of time.After convenience function