The createCube call returns a promise of a model, so you could do something like:
//do something with the model, like close it....
but that might be tricky, you need to be sure you actually got the data before closing, so you will need to try it out.
An easies solution would be to simply ignore all subsequent calls, but that would cost you some performance.
Hope this helps