Avoid npm test error for timeout(0)