rewriten connection ok to pid from gproc