Sorry if this is a basic question but can I terminate the actions of parent subs from within a lower sub?

For example;

VB Code:
  1. Private Sub MainSub
  2.   For i = 1 To 500
  3.     TopSub()
  4.   Next
  5. End Sub
  6.  
  7. Private Sub TopSub()
  8.     For i = 1 to 1000
  9.     'Call the lower sub
  10.     LowerSub()
  11.   Next
  12. End Sub
  13.  
  14. Private Sub LowerSub()
  15.   Try
  16.     'Do stuff
  17.   Catch
  18.     'I want to be able to terminate any further execution of "Main"
  19.     'from here if things go badly wrong (but leave the form up)
  20.   End Try
  21. End Sub
So if the user clicks a button which calls the MainSub and something nasty happens, I dont want the execution to continue through all remaining loops, but I also dont want to close the application.

Since some subs are functions, it makes it hard to pass an "OK" var up from each and every sub to its parent. I'm hoping there's a nifty command like Application.StopExecution(MainSub) or similar.

I have this issue because I'm cycling through file accesses over the internet and if I get an authentication error or a timeout, I want to offer the user the opportunity to abort any further processing and let them fix the problem.