Improve the way of spawner's timeout determination.