Make sure jobs don't end up in mPending multiple times. Clear
rescheduled flag when they're actually fetched/started again.

Also, make sure to close connection even if we've already gotten the indexermessage.
Needed for dump.