Added child forking and closing the connection fd