Finish ping pong loop implementation in AFP