added a neat little context manager for time-limited code