Fixed purging. Perhaps this is an easier way of doing this than creating
a new thread every 100ms..