Don't return from attach until in and out are done

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Remove unused attach ErrorStream

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>