So whenever there is something the government are instructed to do and don't like it they just fail to find a solution and ask the public to vote again
What would happen if the same result occurred ? keep failing and keep re-voting ? Do we keep having referendums ad infinitum ?
If there were another 4 of the things and the leave vote won them all I still think folks would want another one.
No, this is the way it should have worked:
1) The people inform the government in response to their question that by a small minority they would like to leave the EU.
2) The government begins negotiations with the EU to agree a way forward that will minimise disruption to both parties. It does not hand in its notice at this point which would put a time limit on these negotiations.
3) If and only when said deal is agreed the government gets it ratified by parliament.
4) Following parliament's approval the government then asks the public to ratify the deal via a referendum.
5) Following approval by the public the government invokes Article 50 and hands in its notice.
Unfortunately the Tory government made a complete dogs breakfast of the leaving process which is why you are in the mess you are in now.