[Bug 1210685] Use after free bug in emac_remove due to race condition