A study of the factors affecting the electron lifetime in ultrapure liquid argon