Fix module name match while stopping a running module