Surround listener invoke by try catch block