Modbus custom command

Hello,

I need to use the URScript command: “modbus_send_custom_command”.
The problem is, that the command sets the message into a buffer and it doesn’t stop transmitting. Is there a solution to send the message only once? Or any other command to remove the message from the buffer?