ControlBoardWrapper2: better close function for the --subdevice option

The close of the yarp port was missing