client: fix assert(!unclean) due to readahead vs close race