Rename close handler (fixes #126)
Merge pull request #130 from paulhammond/close-fix

Rename close handler (fixes #126)