cleanup uuid lookup, rpc calls, and mqtt handler