Add timeout after 60 seconds so PHP doesn't get stuck.