Add method cancelAllOperations and in didReceiveMemoryWarning call it.