[tor-commits] [stem/master] Socket closures raise a ValueError in python 3