fix race in finalize accept/connect:
  only process events after finalize_* are really done (e.g. addfd to epoll later)