Call OnStop on the UI thread