Add an autorelease pool to the shell so memory gets released