Add test to check setting max connections is clean