fix for terminating all sessions