This function closes a remote connection to SMI RED system.
fun [ObjSmi] I
Return : I 0 if success, NIL otherwise