LuaController: Queue setting the ports (wait for pending operations)