public function close(Player $player, $reason = "unknown reason")
{
if (isset($this->identifiers[$h = spl_object_hash($player)])) {
unset($this->players[$this->identifiers[$h]]);
unset($this->identifiersACK[$this->identifiers[$h]]);
$this->interface->closeSession($this->identifiers[$h], $reason);
unset($this->identifiers[$h]);
}
}