Add finalizer
Merge pull request #2 from mattn/add_finalizer

Add finalizer