Temporary workaround to fix priv_sock_get_cmd error.