How to change the timeout when Appium lost connection with a Android device?

Hi,
when I unplug Android device during execution and than my application is trying to run:
driver.Quit();
execution freezes for 600 seconds. Is there any way to change this timeout?
I already tried capabilities.SetCapability(MobileCapabilityType.NewCommandTimeout, "120");
but it is not the capability that I’m looking for

I’m using
capabilities.setCapability(“newCommandTimeout”, 300);

newCommandTimeout describes how long will Appium server wait for the next command. What I’m looking for is a variable that describes how long Appium server will be trying to execute command.

Your looking for a timeout setting?