Enclosed receive op_all in a while loop