exit protocol