removebrokenconnection when restart