Remove location updates when the activity is closed.