Some general fixes for the server. This allows the server to shut down correctly when it encounters an error, and also ensures that jobs get notified in the event of an error
Coverage decreased (-0.1%) to 99.864% when pulling 33a121d440412e382205bedc09c4c1c928619085 on fixspalloc into 6e6cfa5571ff96669b9af1cc0a727a4eed7b00c0 on master.
Some general fixes for the server. This allows the server to shut down correctly when it encounters an error, and also ensures that jobs get notified in the event of an error