Connection: add _is_finished attribute. "finish" event handlers are called only when _is_finished is false. This prevents the "finish" event from firing recursively. "finish" callbacks are now kept even after firing, which is the behavior in versions <= 0.18.
update Changes
v0.20

  - prevent multiple finish callbacks in unusual cases (Toshio Ito gh#15)