adding a callback to be executed when reusing an established connection from the pool