How can a bash code do a return completely (as if it returns from main function) when it is being in a third nested function call, in order to get back to shell prompt at on