script for stopping emacs daemon