Fix invalid thread access error that disables internal browser for rest of session.