drop output on exit and add timeout for sync uploads script