lw_server/windows: set on_connect_called to true so that disconnect hook is called