Fixed: OpenZWave wrapper could hang when shutting down library