Limit number of active connections to a database/sql DB