fixing try/catch block running callback twice when handler throws exception