Fixed the timeout issue in configuration script.

Thanks to Naresh