Yield the connection factory to let the user make changes if so desired
Add support for automatic recovery using underlying Java lib