Sometimes communication errors occur and cups stops. To prevent this from happening, you can adjust the ErrorPolicy to use an alternate behavior.
In /etc/cups/printers.conf look for ErrorPolicy. It’s likely set to stop-printer. The 2 alternate settings are abort-job and retry-job.
After you update the file, restart cups (/etc/init.d/cups restart or service cups restart).