Speed up upload process, log uncaught exceptions