[Fix] 7496 app server blocked when copying large project

[``* `#7496` App server blocked when copying large project``](https://www.openproject.org/work_packages/7496)

:exclamation: This is an alternative implementation to PR #1432