Fix missing argument in websocket-closed handling