diff --git a/PHPDaemon/Request/Generic.php b/PHPDaemon/Request/Generic.php
index <HASH>..<HASH> 100644
--- a/PHPDaemon/Request/Generic.php
+++ b/PHPDaemon/Request/Generic.php
@@ -577,7 +577,6 @@ abstract class Generic {
 			$appStatus = 0;
 			$this->postFinishHandler(function () use ($appStatus, $status) {
 				$this->upstream->endRequest($this, $appStatus, $status);
-				$this->upstream = null;
 				$this->free();
 			});
 		} else {
Request\Generic: bugfix endRequest with session