Hmm, what do you mean with "it doesn't return to the calling function"? The calling function does not continue?