Coulnt you move the file that is being loaded by the reference editor ?
That way maya wont find the file and give an error.
It is extremely hacky but it could work if maya hangs on a reference load. (joojaa will most likely kill me for suggesting this ^^)
Maybe you could explain why you want to do this, since i have no idea why you would ever want this. Because you are manually loading the reference file.