Bugfix for leaking autorelease pool