Share connection between all threads in this example