Handle possible error on terminate when ranch has been stopped.