This should give enough time to create the file before it is sent.
approved this merge request
closed