app close session and close from peer ,close event handler do it