Fixing timeout warning from showing all the time