cpp: libxtreemfs: reverse-order sequential shutdown of external services