cleanup stl try calls