Simplify AsioRepeatedEvent into RepeatingCallback.