HiTSDB-Client offers graceful shutdown. Clients are blocked during shutdown until the server has processed all requests. We recommend that you enable graceful shutdown to prevent data loss.
tsdb.close(); // Equivalent to tsdb.close(false);
If graceful shutdown is not required, directly shut down the client.