Update connector-manager.js

That will fix the bug on 'error: sorry, too many clients already'
Merge pull request #1065 from thomascool/patch-1

Update connector-manager.js