What is the goal of exiting gracefully?

(1 point)
O to restart the program
O to avoid error messages
O to stop using a library
O to avoid an infinite loop

The goal of exiting gracefully is to avoid error messages.