Test code for checking timeout value effects in NSURLConnection/NSURLSession.