retry to do something