made dispatcher socket catcher less side-effecty