cleanly end the distributed code by waiting for all jobs and services to shut down
added a function to get the (remote) amuse home from the distributed channel