add topic_timings and improve error handling