The penalty isn't over until the ball is dead, so a keeper can have multiple touches if that is what it takes to stop the ball going in. Otherwise a situation could see a keeper unable to do anything as he watches a back spinning ball go over the line.