__destruct() public method

Closes an existing socket connection, if we have one
Since: 3.4
public __destruct ( )
 public function __destruct()
 {
     parent::__destruct();
 }