Add 10s timeout to ajax requests