Pass subprocess id manually rather than attaching it to subprocess object
Move socket path to /subprocess/id/output