Fix scheduler timout