Change ajax timeout to 5 minutes.