gh-154842: Reject repack() while a reading handle is open (GH-154843)