added function to shut down emacs daemon cleanly
specified tramp-chunksize to account for issue on TGI servers