Add some checks in the pooler

Before returning a connection, check that it's still alive