Keep a single connection per thread.