Sometimes an easy change is a lot harder than it looks. Creating a setmaxconnections RPC command definitely was.
When you pay someone and they give you change, it goes back in your pocket. Right? Unless you wrote an embarrassing bug.
Uncertainty is the enemy, and sometimes it takes a long time to figure it out. What testing PR 2698 can teach you.