Fix connection sharing

Sharing a connection as per the README was actually not working, now it is.

I did not test it a lot yet, but all my use cases seems to be covered by it at first.

Feedback welcomed!