House Speaker Paul Ryan stopped short of criticizing an early-morning tweet by President Trump in which he appeared to threaten a government shutdown in the fall unless the next spending bill is more conservative.

"I share the president's frustration," Ryan, R-Wis., told reporters after meeting with rank-and-file lawmakers.

The GOP leadership has faced conservative backlash over the $1 trillion, five-month spending deal announced on Sunday. The bill, negotiated with Democrats, excludes key conservative priorities, such as a provision to defund Planned Parenthood, and it leaves out money for a southern border wall promised by Trump during his campaign.

Republicans are defending the bill as a breakthrough, because it boosts defense spending without increasing non-defense spending, a tradeoff Democrats have been insisting on for years. Still, the conservative Heritage Action has warned lawmakers it will count against their score if they vote for the bill, which must pass by Friday, when a week-long stopgap spending bill expires.

Trump early Wednesday tweeted a defense of the bill, and explained that it required Democratic support in order to clear the 60-vote hurdle in the Senate. But he suggested he'll be much less willing to work with Democrats on the next spending deadline, which comes on Sept. 30, the end of the fiscal year.

"Either elect more Republican senators in 2018 or change the rules now to 51%." Trump tweeted. "Our country needs a good 'shutdown' in September to fix mess!"

By 11 a.m., the tweet garnered more than 20,000 "likes."

Ryan did not say whether he agreed that the Senate should change the filibuster rules so that legislation can pass with just 51 votes instead of 60 votes.

"We've got a long way to go between now and September," Ryan said, adding, "I feel very good about the wins that we got with the administration in this bill."