add retries to mega