Use connection pooling

I think together with the type it should actually be kind of ok.