Senate Majority Leader Mitch McConnell is aiming to send a revised version of his health-care bill to the Congressional Budget Office as soon as Friday as he continues to push for a vote before Congress’s August recess.

The effort reflects the tight timeline McConnell faces in his attempt to hold a vote in July — and the pressure he is under to change the bill to garner enough support to pass it. With both conservatives and centrists pushing different policy solutions, Senate leaders were struggling to craft a rewrite of the Affordable Care Act on Wednesday that would attract votes without torpedoing the CBO’s official score of how the legislation affects coverage levels and federal spending.

In between closed-door lunches and meetings with McConnell and his team on Wednesday, a number of Republicans flashed visible signs of frustration even as they expressed cautious optimism that a vote was possible. Conservatives asked for the lifting of coverage mandates to lower premiums and requested higher limits on tax exemptions for health-savings accounts. Moderates asked for more generous tax credits for the working classes and a gentler phaseout of the expansion of Medicaid that their states have enjoyed under the Affordable Care Act.

Some members questioned McConnell’s handling of the issue — an unusual public rebuke of a leader who managed to preserve his party’s control of the upper chamber despite a stiff challenge from Democrats in last year’s elections.

“This has been way more difficult than it needs to be,” said Sen. Ron Johnson (R-Wis.), who was among five senators whose opposition to the bill prompted McConnell to postpone a vote this week.

With Vice President Pence prepared to cast the tiebreaking vote, and all Democrats opposed to repealing the 2010 law known as Obamacare, Republicans need the support of all but two of their 52 senators.

The draft bill that stalled this week would cut $772 billion from the nation’s Medicaid program over the next decade, by phasing out the program’s expansion under the ACA and reining in spending on the overall program, especially starting in 2025. It would also repeal or delay $541 billion in taxes, primarily on wealthy Americans and insurers.

The move to cut Medicaid, which covers nearly 70 million Americans, helps offset the bill’s generous tax cuts. But it has generated significant opposition among more than a half-dozen centrists who fear the reductions will impede the nation’s effort to address the opioid crisis and could leave many vulnerable Americans without any health coverage at all.

McConnell spent most of the afternoon in closed-door talks with GOP moderates who appear open to negotiation. The revolving door of meetings included Sens. Dean Heller (Nev.), Shelley Moore Capito (W.Va.) and Bob Corker (Tenn.) along with Alaska’s two senators, Lisa Murkowski and Dan Sullivan, and Sen. Tom Cotton (Ark.).

“It is important to me that lower-income citizens have the ability to actually purchase plans that insure them and give them health care,” Corker said after his meeting with McConnell. “My hope is and my belief is that it is going to be addressed.”

President Trump, meanwhile, questioned in a tweet Wednesday afternoon why some were complaining about the bill’s impact on the long-standing entitlement program.

“Democrats purposely misstated Medicaid under new Senate bill — actually goes up,” he tweeted.

The tweet included a chart showing that, after a downturn in the early 2020s, federal expenditures…