Bugfix to call module stop when reloading modules.