Fixed a memory leak sending images, mainly by puting @autoreleasepool inside the loop in PEGAppDelegate.m