cleanup open subcursors if an exception is thrown