tcp-passive: Clear connection on child closing

If this isn't done, then there may be invalid points left inside the
passive socket which could be used and cause a crash.

Fixes #33
1 job from master in 1 minute and 28 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #59424
submit-to-coverity

00:01:28