Change. Use `newproxy` gc method to call `on_exit` function.
Fix. Detect double calls of on_exit function.
Merge pull request #14 from moteus/onexit

Change. Use `newproxy` gc method to call `on_exit` function.