Reduce memory usage by limiting number of epoll events/thread to 1024