shutdown Nuxeo only on latest activity destroy