In Load Balancer setup, the session could timeout after 5 minutes, if the task appears idle to NSX LB. However, if you configure the application server directly bypassing the NSX LB, the transaction doesn't terminate within 5 minutes but finishes successfully.
Prior to NSX for vSphere 6.2.4 release, this value is unconfigurable, with the default value as 5 minutes.
In NSX for vSphere 6.2.4 and later releases, you can configure this value by application rule.
To create an application rule: