Seems to be a problem with _GetNextTime(). If "return 0;" is set, then it will not block. Problem seems to be related with the DeviceTime::QUEUE... not sure if it is not being cleared. Tried using DeviceTime::ResetTime on destructor but didn't get it to work.