Revert "Move network call off of the main thread"

This reverts commit b12792431a3ddabe85d970b218bd01780edf76bf.