Fix the assert on a self-connect
Fix variable mismatch for job counts
Merge pull request #296 from nbougalis/quickfix-jobcount

Fix variable mismatch for job counts
Fix bootcache incorrect failure on socket cancel