add some protection against number of users/channels growing forever.