Added exception "handler" to App.Upload

Enclosed App.Upload with try/catch block to prevent random connection
exceptions to crash the whole app.