making task queue retry properly, finalizing s3 stuff