Restful: Track threads and join done threads.
Merge branch 'master' into HEAD

Conflicts:
	common/tsheese/common/restful.py