         let requestURL = getBluemixBaseRequestURL() + "/" + kPingEndPoint
 
         let request = Request(url: requestURL, method: HttpMethod.GET)
+
+        request.timeout = kDefaultTimeOut
 
         request.sendWithCompletionHandler { (response, error) -> Void in
             callback(response: response, error: error)

            body.appendData(imageEndEncoding)
            body.appendData(boundaryEnd)

            request.sendData(body, completionHandler: { (response, error) -> Void in

                //failure

        let requestURL = getBluemixBaseRequestURL() + "/" + kUsersEndPoint + "/" + userId

        let request = Request(url: requestURL, method: HttpMethod.GET)

        request.timeout = kDefaultTimeOut

        request.sendWithCompletionHandler { (response, error) -> Void in
            //error
