pub async fn write_control<W>(send: &mut W, msg: &Control) -> Result<(), String>where W: AsyncWrite + Unpin,