Fix the concurrent Modifcation exception
Catch any unforeseen exceptions and don't carry on running