removing trace listeners after disposing the host