Python Continue Loop If Exception