HPCC-9415 Use epoll_wait instead of select, change timeout to match original

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