Fix thread import for py3