check whether webserver was really stop
fix webserver stopping