Better logic around refreshing readers/writers on error