It took me forever to narrow this down to what was actually causing the crash but apparently when there are no more jobs in the queue and @autostart_next_job is active then the server crashes. The logs don't show the problem because it crashes at the completion of the last print in queue.