prevent accidentally killing emacs server

Only install this function on hosts where I run emacs server.