add signal support for p2p chat server/client when one side close the session