Plug one more memory leak in the OCPP stack in case of WS closed.