RpcRegistration.close() should not throw