Fix #95 Error with no network

The promise chain method that process tabs was resolving the promise inside a `output.tabs.forEach()`. When user has no networks, hence no tabs open, the last promise function in the chain would never run and a response never sent.