The Sgc field is an integer, not a boolean.
Fix the response status code log message.
Formatting.
Fix not shutting down when all work is done in less than a second.