Revert "Removed last close()"

This reverts commit e81fcec582fef2f4b7e6c5403864c007224698d2.
autopy 0.51