Fix spinning while compute()