Handle exception with a fork