Make firstHotplugEvent return a STM transaction