implemented connection limiter