kucoin_rs::kucoin::websocket
pub async fn close_socket(heartbeat: &mut JoinHandle<()>) -> Result<(), Error>