Put back try-catch around closure exported function lookup