This is done to avoid a panic of the whole program Only the given thread is going to panic and the main thread can continue