temp and timeout

Added socket timeout so, scripts doesn't wait for one minute