A splintered Senate voted down competing Democratic and Republican plans for ending the 35-day partial government shutdown, but the twin setbacks prompted a burst of bipartisan talks aimed at temporarily halting the longest-ever closure of federal agencies and the damage it’s inflicting around the country.

In the first serious exchange in weeks, Senate Majority Leader Mitch McConnell, R-Ky., quickly called Minority Leader Chuck Schumer, D-N.Y., to his office Thursday to explore potential next steps for solving the vitriolic stalemate. Senators from both sides floated a plan to reopen agencies for three weeks and pay hundreds of thousands of beleaguered federal workers while bargainers hunt for a deal.

At the White House, President Donald Trump told reporters he’d support “a reasonable agreement.” He suggested he’d also want a “prorated down payment” for his long-sought border wall with Mexico but didn’t describe the term. He said he has “other alternatives” for getting wall funding, an apparent reference to his disputed claim that he could declare a national emergency and fund the wall’s construction using other programs in the federal budget.

Even so, it was unclear whether the flurry would produce results.

House Speaker Nancy Pelosi, D-Calif., whose relationship with Trump seems to sour daily, told reporters a “big” down payment would not be “a reasonable agreement.” Asked if she knew how much money Trump meant, Pelosi said, “I don’t know if he knows what he’s talking about.”

Read more from Associated Press.