Web: Fix exception on timeout