Fix for incorrect call handling for promises when closing LiveBrowser from within Brackets.