fix concurrency issues
Merge pull request #428 from metamx/fix-bytesboundedLinkedQueue

fix concurrency issues in bytesboundedlinkedqueue