Make it run with python2

removed ThreadPoolExecutor parts.