frontend: fix a serious bug listener lacks handler if mainPort has timeout
frontend: fix a serious bug listener lacks handler if mainPort has timeout

gdh1995/vimium-plus,gdh1995/vimium-plus,gdh1995/vimium-plus