Pipeline timeout

We use a DNS to ensure the bots run on all development and production servers. So my duckling URL is “http://rasa_duckling:8000/”; however, the DNS service occasionally goes down.

Is there a way to specify a timeout for a pipeline so that it doesn’t just give up if it can’t reach the duckling service?