libs/web: fix possible dispatcher crash