cec: wait until the commandhandler is replaced before registering a client, so we...