added a configurable ammount of connections on publisher side