Make xmenu wait for another process to ungrab