Flush data periodically instead of their buffering
Implementing Flush method to httplog