Update retry.php

First I think it would be better to throw the real Exception, cause you can catch the real Excpetion.

Second i think this soloution is faster and more logical.