JBIDE-13625 BrowserSim: Browsersim closes unexpectively when closing Firebug Lite

- added a workaround for Mac