Prevent memory leak when timeline is disabled with many incoming events

To save memory usage for a webapp that generates lots of realtime events, I disabled active_users_available so Redis won't run out of memory. This wasn't enough, as the timeline and typelist are still updated internally. This patch will prevent Redis running out of memory in case active_users_available is disabled.