[fix] removed testing code, the while loop

Fixes the get feed example to not to execute within while(1) loop