TimeLimiter

Add a simple time limiter.