Bounded buffer working