Set thread cap to a reasonable default.