How to increase response time of an api via test script

Hello, I am writing a testcases for a collection. Some api is taking much time and getting response time out error.
I would like to know how to increase response time out via test script(pre-request script).