      */
     func getImages(request: Request, result : (images: [Image]?)-> ()) {
 
+        request.timeout = kDefaultTimeOut
+
         request.sendWithCompletionHandler { (response, error) -> Void in
             if let error = error {
                 print(NSLocalizedString("Get Images Error:", comment: "") + " \(error.localizedDescription)")

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

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

                //failure

        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)
