Use kernel.terminate event instead of response
Merge pull request #39 from adrienbrault/terminate-listener

[2.0] Use kernel.terminate event instead of response