let OWSWITCH_GetState wait for async response