* fix exception handling to gracefully exit * addressed review comments [ROCm/rocdecode commit: 55ebf353cc]
55ebf353cc