Bump concurrent.futures dependency from v2.1.2 to v2.2.0

Also rewrite the monkey-patch for threadpool executor that
incorporates the fix for http://bugs.python.org/issue16284.