fn finish_transfer( timeout_msg: &'static str, error_msg: &'static str, ) -> Result<(), &'static str>
転送の後: 状態機械が待ちの状態へ戻るのを待ち、エラーの印を確かめる。