Fixed pwmd_get_hostkey_async() to reset the state.