There is an additional sense of urgency to complete a deal because the U.N. Security Council resolution that sets the legal basis for the U.S. troop presence in Iraq is due to expire at the end of this year .