Fix remaining memory leak in asynchronous framework

 - now intermediate results is saved in capped deque
Chunker example refactoring

 - now chunks is generated dynamically each loop step to prevent large memory allocation in some cases
 - number of chunks to be generated now can be specified through command line argument (chunker/check.py)