UserManagerFactory.getInstance().getUserManager();
// this will notify us of all user timeouts (whether part of this
// workspace or not)
// TODO deregister listener to avoid memory leak
userManager.getUserActivityScheduler().addTimeoutListener(
new UserTimeoutListener() {
@Override
public void onTimeout(UserInfo userInfo) {
String connectionId = userInfo.getUserId();
EditorClientId editorClientId =
connectionIdToEditorClientId