use ring queue for active buffers

Link: https://github.com/GeneAssembly/biosal/issues/375
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>