That shoudl do the trick
however You may want to look at why you are using so mnay connections. Are ther number of connections being used appropriate to the number of users.
I'd check that your front end software is using an appropriate number of connections, and is it closing those connections as soon as desirable. Note it may make more sense for an app to open a single connection and maintain that connection for the period of time the app is open, rather than opening many different connections, or constantly closing & reopening a connection. This would probably apply to a database intensive applcation. Close the connection(s) & free up any resources as soon as practical. Some front ends (eg PHP) allow the use of connection sharing.