report error when emacs server isn't started
make logger dry
Merge pull request #3 from liuhongchao/stop-when-emacs-server-not-started

Stop when emacs server not started