officials are close to deal to free some hostages