[Fix] 7496 app server blocked when copying large project

[``* `#7496` App server blocked when copying large project``](https://www.openproject.org/work_packages/7496)