added debug mode in create-cache.py which doesn't signal araqne-core when exit