A few functions for trying again when things don't go as planned.