when hope of success is fading, people will try anything, no matter how unlikely it is that it will provide a solution
People are still clinging to the hope that something will happen, but I think it'slike a drowning man trying to clutch at the straw.
See full dictionary entry for drowning