What is the best way to shut down TPX when there are still active users?