Use custom error class for timeouts