[DEBUG] Fix fd potentially closed multiple times
[DEBUG] Fix fd potentially closed multiple times

Instead of the fd, it was the port which was put back to -1.
In the delete function, we close the fd if it is not equals to
-1. So in that case, the fd was closed twice, which was
producing an error somewhere else in the system.

Change-Id: I999851d27a19ef78253ec60a381b343ab3777d3d
Reviewed-on: https://gerrit.parrot.biz/69882
Reviewed-by: Nicolas Brulez <c7b4d7ddc34318e865922d5ddc9ce680dfb1b14c@parrot.com>

Parrot-Developers/libARController,Parrot-Developers/libARController,Parrot-Developers/libARController,Parrot-Developers/libARController