WIP custom supervisor
Add test to check changing max connections does not crash anything