program was crashing with "1 * 1024" stack size, it was changed to "2 * 1024" but would still crash during some conditions. Changed to "3 * 1024" and the task does not experience a stack overflow under any circumstances.