Utility class for invoking callables with a timeout.
