More reliable proxy cleanup on exit.
More reliable proxy cleanup on exit.

Ported from master (see #106).

abali96/Shapely,mouadino/Shapely,jdmcbr/Shapely,mindw/shapely,mouadino/Shapely,mindw/shapely,abali96/Shapely,jdmcbr/Shapely