add tcp_closed event processing in server
fix error