Enforce time limit within AssembleUploadChunks.php.

Change-Id: I8cfcb09da8e7e9020e6b5dfbc5e727522d01b7c1
(cherry picked from commit e9e11251b788a70a3d30ffc9e1273f5a4b66c4b3)