Synchronize "Engine" class across thread/process boundaries