fix autorelease with no pool in place issue

Fix the issue with autorelease with no pool in place. 

Reference: http://stackoverflow.com/questions/10003962/breakpoint-pointing-out-objc-autoreleasenopool