make sure all devices are stopped