Client.shutdown need to wait for task to finish, and then shut down the engine If task is running, how to forcing shut down the engine?