Added timeout before refresh