Add an event handler to the gateway routing module so that when a gateway comes online, it will scan transfer jobs and re-queue those which failed
The Sonador Gateway needs to be able to cope with network outages and failed transfer jobs. When the gateway comes online, there is "connected" method that gets fired. To that method, there should be an event handler which scans the local job database for any failed transfers and then re-queues them for transfer.