test gqtp: break infinite session loop when client reaches EOF