Fix -> Contents are not output when cache fault.

When first output (cache fault), contents are not output.
Because the value of $frontend->isBuffering() always returns false
after called $frontend->stop().

Get the value of $frontend->isBuffering() before call $frontend->stop().