Restore thread count