HPCC-9415 Use epoll_wait instead of select in while loop

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>