Make sure Charm is ended after a prompt session. This should prevent memory leaks caused by not cleaning Event listeners created by charm. (Related to #11)