I had the delay there because a few threads suggested using a delay sometimes stops the “accessed none” error.