Use bluetooth library versions which close the metadata service properly when device is no longer discoverable.