pub fn close(conn: i64) -> Result<(), String>
Close the connection or listener; the handle is dead afterwards.