Run pool.py on loop