public function finalize() { parent::finalize(); try { if ($this->out != null) { $this->out->close(); } } catch (\blaze\lang\Exception $e) { } try { if ($this->err != null) { $this->err->close(); } } catch (\blaze\lang\Exception $e) { } }