Remove unused vars. Logs guilty stuck check.
Break after restarting pool because jobs_status is flushed
Merge pull request #1061 from DataDog/leo/unused_vars

Improvements on NetworkCheck class