clear pages after disconnect