added a timeout handler to error fallback