Use on-finished to determine request status