Flush serial (in debug mode) before powering down.