Release connection to rpi-gpiod once WebSocket is closed.