Remove unused "thread" import

Unfortunately, "import thread" doesn't work in Python 3. Fortunately, it's not being used in this function anyway, which means that it *should* be fine to just remove it. (I put this in a branch *just in case* it needed to be there for some reason I was missing.)