Correctly identify python2 version and close Windows handles