This is what I'm trying to avoid.  The behavior I'm seeing before my change is that the writability callback is fired twice on a single message because of the increment/decrement that happens when submitting a task.