Refactored VM delay setting.