[FIX] Handle setting state on unmounted component