Exit 2 if failed to upload