=rem #3606 Properly reset system message buffer between remote sys restarts (backport)


(cherry picked from commit 9fcae8a)