Convert /status/after and /status/before to be async.