Always flush the remote shell command stderr buffer before its stdout buffer.