I suspect, hope I'm wrong, this "fix" is temporary. If it acts up again, pop that gas cap off as quick as possible and you may hear a "swoosh" as the cap unseals. If not, then you may have a restriction in the pump suction (fuel filter) or pressure line from pump (pinched fuel hose to injector). Hopefully, this is the end of your problems.