made thread connections a setting with a default of 16k