fix server active close