Preventing from running the same module twice