Coverity complains about the leakage of 'handle' when the identifier goes out of scope. Change handle into a static global to hold the value instead of a stack variable. Change-Id: I040707ac731558f7d523f128a006a80b98d45b79