Using a maximum time limit of 5 minutes instead of infinite

Anyway, using an "infinite" time limit is not that infinite as all, an infinite loops usually hits the memory limit pretty quick.

Fixes #1511
Merge branch 'master' of github.com:WoltLab/WCF