Terminates the Firestore client and closes all open streams.
@return A Promise that resolves when the client is terminated.
external JSPromise terminate();