resolved the problem.
I did not setup timeout properly.
It should be "timeout" parameter instead of "browser_timeout" for this regard.
inside the json, it is in millisecond and from command line, it is in second measurement.
I changed the json timeout so it will cover the 30 seconds timeout parameter I passed from the Selenium client driver.
The json looks like this:
{ "host": null,
"port": 80,
"newSessionWaitTimeout": -1,
"servlets": [],
"prioritizer": null,
"capabilityMatcher":
"org.openqa.grid.internal.utils.DefaultCapabilityMatcher", "throwOnCapabilityNotPresent": true,
"nodePolling": 5000,
"cleanUpCycle": 5000,
"browserTimeout": 60000,
"timeout":50000,
"maxSession": 5,
"jettyMaxThreads": -1 }
Thank you Krishnan for pointing me out the reference page.
Buu