Reconnect when ever the main view appears