Bug fix, closes #301: reset task proc flag.

@arjclark - this fixes the bug you reported in #301.