Do not crash viewer if no data availabel on exit