core: Use folsom_metrics:safely_notify to prevent errors during serving of a request.