remote values stored locally before closing the connection