Include timing inside try catch should be more precise