Set timeout on Apollo Server

Is there a way how to add a timeout handler to the Apollo Server?

I need the server to time out if the it doesn’t send the response in predefined time.