ERR_TOO_MANY_TOPICS Help

Also for reference

API Limits
Clients can listen on up to 50 topics per connection. Trying to listen on more topics will result in an error message.
We recommend that a single client IP address establishes no more than 10 simultaneous connections.

50 topics and 10 connections is the recommendation.