Update utils.py

Fixed getting pid list.