use ring-buffer itself to close all threads (even if asleep) properly