Major revisions. Added more intelligent buffer using delay queue that is able to execute requests in batch every 5 seconds.