two consumers one producer with race condition