add nonblocking pipe and eventfd (block and nonblock)