correct clear() given the weaker poll() guarantee