Moved tyrant.utils.block_on to a private function