Implements new task_retry signal.  Closes #1169