module: call module dtor during removing from manager