implement callback system in net request process