Add experimental sleep statement after setting device type in simulator