CloseDevice  arg is handle, not number