It helps to catch the right exception.

Bug: 7238149
Change-Id: I7b60ec44d1d1d5ece8a871cb089f811b611f4a4a
Fix Statusbar Toggle?
Revert "[HTML5] Implementation of WebSockets (framework)."

This reverts commit 8393c7f0463186a110767283f93d4bef9f4df758.