close event has no err, moved to error event
0.2.3