Fix bug client do not know server still run or not