Can you provide the exact SendMessage() that mSLDev is sending? I tried setting up my own external Sendmessage() on a timer that passed a "/reload" command to reload the script that included your mainloop timer, with the mainloop timer running, and was not able to reproduce this.