Fored process must exit after precessed connection
Updated version