mark more functions with __noreturn__
handle EINTR on epoll loop