Re-fixed the bug where parent connection was closed when forked connection is closed.