Sockets are now closed after interface detection (bug #255)