The insurgents said they released the men after Beijing promised to discourage its citizens from traveling to Iraq .