Switch to using a while true loop.