Keep the connection when refresh the page