rdb_compat: use config.fetch method instead of config[:use_connection_pooling]
rdb_compat: moved disconnect method call for conncetion_pooling to ensure block.