Bug fix on connection_pool