Utility class for invoking PHP callables with a timeout.