Warn on suiciding an active task.

Closes #834

@arjclark - please review.