Check config for persist connection.