Hello Divya,
Another moodler had essentially the same question last April ↗. I had written her a little script ↗ which isn't too bad, but it only works if the attempts are made on the same machine.
I think this would make a good plugin but unfortunately no one has time to do it.