Remove thread import