pass $proc into run cb instead of $pid