Add sleep between isWin and sendWin