valkey: release the socket keep-alive ref at the close-event entry (#39543)