Thanks for your reply.
The related timeouts are configured through setTimeoutForStalled and setTimeoutForReconnect.
setTimeoutForStalled default value is 2 sec. But what would be the maximum value for it?