Example of using the TryingActor's tryRepeat method.