exit crash fix?

I was experiencing an exit crash using the latest SDK.  The Leap thread was not closing properly.