fix(web-server): implement a timeout on webServer.close()
Closes #952
Merge pull request #973 from sylvain-hamel/fix-952

fix(web-server): implement a timeout on webServer.close()