Check that component is still in dom