Module::cleanup() can check remote peers via queue name and deallocate resources accordingly