Added autoreleasepool

Signed-off-by: Chris Brauchli <cbrauchli@gmail.com>
Fixes #1

Signed-off-by: Chris Brauchli <cbrauchli@gmail.com>