Handle exception in Thread and try again later