Fix thread leakage