Core: added checking epoll_events
Core: removed useless checks.