handle auto reloading mechanism in development

Fix this kind of error "A copy of EmailProcessor has been removed from the module tree but is still active!"