If uv_tcp_close_reset() returns an error code, this means the reset_shutdown callback has not been issued, so do it now.