Call per-thread atom set up in expiring thread
Add try/except in mailer send_mail function
Do not index already expired events
Add debug
Improve query parsing code
Add virtual destructor for core_interface
Publish expired events
Fix websocket event queue
Publish existing events to new ws connections