hmm this copy paste makes me a little sad =/

Can we extract this logic somehow?

```js
// this is only my suggestion if you can come up with something better please do!
if (this.bailWhenOffline(callback)) {
  return;
}