TODO: this doesn't seem to change anything, i.e. the messages seem to still be sent one by one each in a sepparate rpc call