When failing to reconnect to a server that has gone away, simply fail the query once we've passed template_redirect, rather than wp_die(). 

props pento.
see #5932.


git-svn-id: https://develop.svn.wordpress.org/trunk@27279 602fd350-edb4-49c9-b593-d223f7449a82