closeConnection(callback: IVoidCallback, errorCallback: IErrorCallback): any
Closes the "connection" with the Model API Server in the sense that
pending delta requests are processed, and that afterwards the given
callback will be called.
This function can only be called once.
A simple queue implementation for deltas.