Closes the TDLib instance. All databases will be flushed to disk and properly closed. After the Client.close completes, updateAuthorizationState with authorizationStateClosed will be sent. Can be called before initialization