Remove thread support