fix leave then quit page server crash