hot fix
OpcDevice draft, main close bug fix