After autorsync exits, rsync and fswatch are still running.
trap "pkill -P $$" EXIT may help.
trap "pkill -P $$" EXIT