Sleep is implemented for consumer. Maybe fixed the problem of insertion failure. Consumer sometimes do get an empty item from the buffer.