Does this sentence end with a preposition? If so, how can it be rewritten so that it does not?

"A primary group consists of people you are close to and share a connection with."