fixed an exception when collect a server's status but it has been stopped