disable buttons when ajax runs and add timeout