From the documentation for acceptCount - the operating system provides the queue for incoming connection requests and may ignore this setting and choose a different size for the queue. With such a small value it may be ignored and depends on the OS.
I'm not sure your requirements but you also may want to consider using a rate limiter library like resilience4jhttps://resilience4j.readme.io/docs/ratelimiter