Be more defensive in case of viewer disconnects