U.S. weighs canceling military exercise with Egypt