Urgent - how to terminate a session after a test fail in kobotion?

I have successfully execute mobile test case through katalon in Kobiton device farm.
It is ok when test success.

But in a test failure, the session does not fail and terminate.
I can see test fail in Katalon results.
But in Kobiton it allocates device for 30 mints and mention test session as time out and closed.

How can I make the device to terminate the session after a failure?

Found solution .

Look for
How to customize newCommandTimeout in Katalon Studio

In kobiton they have set a timeout of 1800 seconds for new command time out.
We have to override it with using desired capabilities or remote executions.

https://docs.kobiton.com/faq/automation-testing/