Set time limit

Prevents script timeout