Increase thread_count as threads are created (avoid trouble in destroy)