Shutdown and free all resources.

def close(self):
    """Shutdown and free all resources."""
    for controller in self._controllers:
      controller.quit()
    self._controllers = []

    for process in self._processes:
      process.close()
    self._processes = []

    portspicker.return_ports(self._lan_ports)
    self._lan_ports = []