Hey,
i did the following search Search results for '"You took too long"' - ownCloud Central and found the following threads:
where most solutions leads to the following suggestion:
So i would definitely try to search for the reason within the PHP environment / setup.