Cache driver setup

This PR cache the driver instance used as middleware

I wasn't able to make the build green due to a failures in the multi_process support.

I had to fix some gem versions too to get to that point too