valkey: close at once when a TLS fast shutdown is deferred (#39548)