Throw and catch RecursionException on module recursion