Fix connection leaks caused by a stale job queue

Another one