Fix devide by zero bug and properly handle exponential backoff with an alert_after. Closes #2