Case db conn per thread