public function handleClose()
{
$this->pause();
if (is_resource($this->socket)) {
if ($this->getStreamType() === Socket::TYPE_UNIX) {
$path = substr($this->parseEndpoint(), 7);
unlink($path);
}
fclose($this->socket);
}
}