tidy up and make the upload async task send the notification on completion, including the HTTP result code.