if timeoutInSeconds is not missing value then httpRequest's setTimeoutInterval:timeoutInSeconds -- If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out.