Add cleanup routine for dangling uploads