[js] Reset remote.DriverService state on kill.
[js] Reset remote.DriverService state on kill.

Fixes #4717

twalpole/selenium,krmahadevan/selenium,GorK-ChO/selenium,davehunt/selenium,chrisblock/selenium,joshmgrant/selenium,mach6/selenium,Tom-Trumper/selenium,HtmlUnit/selenium,oddui/selenium,davehunt/selenium,xmhubj/selenium,mach6/selenium,xmhubj/selenium,joshbruning/selenium,chrisblock/selenium,juangj/selenium,chrisblock/selenium,SeleniumHQ/selenium,joshbruning/selenium,oddui/selenium,HtmlUnit/selenium,Ardesco/selenium,bayandin/selenium,markodolancic/selenium,bayandin/selenium,jabbrwcky/selenium,Tom-Trumper/selenium,krmahadevan/selenium,jabbrwcky/selenium,lmtierney/selenium,joshmgrant/selenium,joshmgrant/selenium,Tom-Trumper/selenium,krmahadevan/selenium,5hawnknight/selenium,GorK-ChO/selenium,valfirst/selenium,asolntsev/selenium,jsakamoto/selenium,lmtierney/selenium,bayandin/selenium,joshbruning/selenium,mach6/selenium,Dude-X/selenium,davehunt/selenium,xmhubj/selenium,juangj/selenium,twalpole/selenium,joshbruning/selenium,joshmgrant/selenium,asolntsev/selenium,asashour/selenium,twalpole/selenium,asashour/selenium,titusfortner/selenium,oddui/selenium,SeleniumHQ/selenium,joshbruning/selenium,asashour/selenium,markodolancic/selenium,jsakamoto/selenium,bayandin/selenium,titusfortner/selenium,asashour/selenium,joshbruning/selenium,markodolancic/selenium,asolntsev/selenium,asolntsev/selenium,Tom-Trumper/selenium,mach6/selenium,Ardesco/selenium,5hawnknight/selenium,GorK-ChO/selenium,Dude-X/selenium,Ardesco/selenium,jsakamoto/selenium,valfirst/selenium,juangj/selenium,krmahadevan/selenium,titusfortner/selenium,GorK-ChO/selenium,chrisblock/selenium,joshmgrant/selenium,markodolancic/selenium,Tom-Trumper/selenium,chrisblock/selenium,lmtierney/selenium,davehunt/selenium,mach6/selenium,titusfortner/selenium,krmahadevan/selenium,jabbrwcky/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,juangj/selenium,lmtierney/selenium,SeleniumHQ/selenium,twalpole/selenium,mach6/selenium,oddui/selenium,joshbruning/selenium,asashour/selenium,joshmgrant/selenium,mach6/selenium,Dude-X/selenium,chrisblock/selenium,bayandin/selenium,GorK-ChO/selenium,GorK-ChO/selenium,xmhubj/selenium,lmtierney/selenium,lmtierney/selenium,davehunt/selenium,HtmlUnit/selenium,valfirst/selenium,twalpole/selenium,joshbruning/selenium,5hawnknight/selenium,Dude-X/selenium,titusfortner/selenium,titusfortner/selenium,jabbrwcky/selenium,valfirst/selenium,oddui/selenium,asolntsev/selenium,SeleniumHQ/selenium,juangj/selenium,oddui/selenium,titusfortner/selenium,Ardesco/selenium,asashour/selenium,joshmgrant/selenium,Dude-X/selenium,HtmlUnit/selenium,Ardesco/selenium,GorK-ChO/selenium,asolntsev/selenium,Tom-Trumper/selenium,HtmlUnit/selenium,jabbrwcky/selenium,davehunt/selenium,krmahadevan/selenium,Dude-X/selenium,krmahadevan/selenium,jsakamoto/selenium,Ardesco/selenium,twalpole/selenium,Ardesco/selenium,lmtierney/selenium,chrisblock/selenium,xmhubj/selenium,markodolancic/selenium,xmhubj/selenium,SeleniumHQ/selenium,twalpole/selenium,titusfortner/selenium,SeleniumHQ/selenium,Ardesco/selenium,jabbrwcky/selenium,5hawnknight/selenium,markodolancic/selenium,titusfortner/selenium,oddui/selenium,mach6/selenium,davehunt/selenium,jabbrwcky/selenium,bayandin/selenium,bayandin/selenium,oddui/selenium,jsakamoto/selenium,bayandin/selenium,titusfortner/selenium,lmtierney/selenium,xmhubj/selenium,asashour/selenium,valfirst/selenium,jsakamoto/selenium,markodolancic/selenium,jabbrwcky/selenium,valfirst/selenium,asashour/selenium,valfirst/selenium,SeleniumHQ/selenium,juangj/selenium,joshmgrant/selenium,Tom-Trumper/selenium,Tom-Trumper/selenium,asolntsev/selenium,valfirst/selenium,5hawnknight/selenium,joshmgrant/selenium,GorK-ChO/selenium,asashour/selenium,GorK-ChO/selenium,5hawnknight/selenium,mach6/selenium,asolntsev/selenium,valfirst/selenium,HtmlUnit/selenium,HtmlUnit/selenium,chrisblock/selenium,jabbrwcky/selenium,Ardesco/selenium,lmtierney/selenium,Tom-Trumper/selenium,HtmlUnit/selenium,juangj/selenium,juangj/selenium,joshmgrant/selenium,twalpole/selenium,valfirst/selenium,markodolancic/selenium,twalpole/selenium,joshmgrant/selenium,jsakamoto/selenium,bayandin/selenium,5hawnknight/selenium,asolntsev/selenium,SeleniumHQ/selenium,davehunt/selenium,jsakamoto/selenium,5hawnknight/selenium,valfirst/selenium,krmahadevan/selenium,Dude-X/selenium,Dude-X/selenium,juangj/selenium,titusfortner/selenium,xmhubj/selenium,oddui/selenium,davehunt/selenium,jsakamoto/selenium,HtmlUnit/selenium,markodolancic/selenium,krmahadevan/selenium,SeleniumHQ/selenium,joshbruning/selenium,SeleniumHQ/selenium,5hawnknight/selenium,Dude-X/selenium,xmhubj/selenium,chrisblock/selenium