threadpool.py: rename internal var

'result' into 'thread_result'
inherit ThreadResult from AsyncResult