Implement connection rotation to periodically close oldest connections when exceeding half of MAX_CONNECTIONS. Also enforce MAX_CONNECTIONS limit by rejecting new connections when limit is reached (32). This improves network stability and resource management.
I also changed max relay hops from 3 to 2.
With the connection rotation I think these more conservative numbers should suffice and save on resources.