replace process tick with timeout