s3:lib/addrchange: set ctx->sock to -1 after close