How does this refresh if the connection closes? Perhaps I'm missing how something under the hood works.