it does turn it off but as soon as it turns itself off, it is turning back on. You need to put in a sleep command after redstone.setOutput("left", false).
So something like
while true do
redstone.setOutput("left", true)
sleep(0.2)
redstone.setOutput("left", false)
sleep(0.8)
end
would...