add timeout to all ajax request