Fix bug in reactor
reactor: Signal I/O error using event hook