Unable to quit or close AppiumDriver instance in Appium javaclient v8

@Aleksei
I’m unable to close or quit the initialised AppiumDriver instance by using either driver.close() or driver.quit() commands in the latest Appium Jave client v8…Any idea of how we can perform this action??

1 what error it gives?
2 your appium version
3 your Java version