Socket now closed _after_ `on_error` callback.