[FIX] when a job is reset to pending (requeued after a failure) the retry count is reset to 0
[FIX] when a job is reset to pending (requeued after a failure) the retry count is reset to 0

BT-ojossen/connector,open-synergy/connector,guewen/connector,acsone/connector,hugosantosred/connector,Endika/connector,fevxie/connector,MindAndGo/connector,zhaohuaw/connector,mohamedhagag/connector,Antiun/connector,anybox/connector,dvitme/connector,hugosantosred/connector,anybox/connector,BT-jmichaud/connector,BT-ojossen/connector,maljac/connector,BT-fgarbely/connector,acsone/connector,open-synergy/connector,gurneyalex/connector,sylvain-garancher/connector,brain-tec/connector,esousy/connector,BT-fgarbely/connector,guewen/connector,brain-tec/connector,MindAndGo/connector,fevxie/connector,maljac/connector,mohamedhagag/connector,BT-jmichaud/connector,esousy/connector,dvitme/connector,Endika/connector,js-landoo/connector,gurneyalex/connector,brain-tec/connector,acsone/connector,zhaohuaw/connector,js-landoo/connector,sylvain-garancher/connector,Antiun/connector