def server_kill(self):
        """
        adb kill-server

        Send host:kill if adb-server is alive
        """
        if _check_server(self.__host, self.__port):
            with self.make_connection() as c:
                c.send_command("host:kill")
                c.check_okay()

        adb kill-server

        Send host:kill if adb-server is alive
        
adbutils/_adb.py