Stopped error loop from sleeping for increasingly huge amounts of time