Do not cache when request not succes

Pull request for Issue #13