wrap survey unit execution in a try catch