def _cleanup(self):
        """
        Cleanup javacap process and stream reader

        Returns:

        """
        for func in self.cleanup_func:
            func()
        self.cleanup_func = []

        Cleanup javacap process and stream reader

        Returns:

        
airtest/core/android/cap_methods/javacap.py