Fix some exception leaks

I decided to fix some exception leaks