Avoid race condition on view detach
Merge pull request #4516 from vishalduggal/timob-14292

[TIMOB-14292] Avoid race condition on view detach