getting pids after start, so supervisor will restart on error