Modified lwip to realease thread on pppClose.