Implemented closing of the posix_tap_adapter