fixing issue with reconnecting to tv after server restart