reconnect on page refresh