Can't open Wine Configuration

When I right-click a game and select “Wine Configuration”, nothing happens. I ran Lutris with -d flag and got the following output:

Running /usr/bin/winecfg
0045:err:esync:esync_init Server is running with WINEESYNC but this process is not, please enable WINEESYNC or restart wineserver.
Waiting on children
Exit with returncode 1

How do I solve this?