public function close() {
		if (isset($this->handle) && $this->handle != null) {
			$this->handle->close();
			$this->handle = false;
			$this->onConnectionClose(new Event(['sender' => $this]));
		}
	}