Update dogstatsd run exception handling to be compatible with 2.4