But a U.S. military commander says he can not declare victory and warns that insurgents are looking for the chance to carry out large-scale attacks in Baghdad .