Allow file scanner to reset retry count

On successful send, this will reset the retry count