tap_manager: do not leak socket when setting port speed
tap_manager: do not leak socket when setting port speed

We open a new socket every time we want to set the speed of a port, but
never close it. This eventually leads to hitting the maximum amount of
open file descriptors, leading to various other issues.

Fix this by closing the socket on return.

Fixes: b5fe46c ("tap_manager: set port speed on tap interfaces")
Signed-off-by: Jonas Gorski <9712c064bde5a52658fc87d6454b4956f9bf286b@bisdn.de>

bisdn/basebox,bisdn/basebox,bisdn/basebox,bisdn/basebox