Fix up shared connection use