Send the cmd data to the backend thread instead of the struct

The code expects a pointer to the cmd data, not the struct that contains it