Add a helper class for timing Runnable tasks