Revert "Removed useless EndTimeSlice() calls"

This reverts commit 7ea33c3a9d75338544af3bc73d95a6871e3fb0ad.