Removing another call to setDoOutput() when no need to do so