refactor `then` method

`Promise.promisify` is awkward when invoked immediately. Save to
temporary variable for clarity.