properly kill child in spec