Fix bug: kill child when monitor killed