Don't leak React component instances on unmount