Move setprops inside timeout