Fixed a bug when an on error would continue a while true.