don't profile EDT middleware; clean up