Possibly fix bug which proxy stop working.