get_state will return immediately in error state.
This will make shutdown process running to close handle before component change to loaded.
Then close handle will failed since component not in loaded state.