improve api socket limiting, and increase limit to 250 inline with epoll scalability