Makes timeout work