Fix random timeouts when logstash busy due to non-threadsafe timeout timer