Do not crash viewer if no data available on exit