limit number of simultaneous connections to 5