Further to this, it seems that you can avoid the problem altogether. Rather than opening the serial line in setup and leaving it open, open it only when required, write to it, then close it again.
Further to this, it seems that you can avoid the problem altogether. Rather than opening the serial line in setup and leaving it open, open it only when required, write to it, then close it again.