Hey @rjayaram
Try this, it should work as intended:
setTimeout(performRequest.bind(null, url, idx),5000);
setTimeout(performRequest, 11000, URL, idx);
is a newer syntax and looks like not currently available via the NodeJS modules in the Postman Sandbox.