[next][widget] Fix possible dead lock