CE-108 Add wfProfileOut before return