reset worker memory usage when --idle option kills it, needed for #479
Merge pull request #482 from prymitive/idle_zero_mem

reset worker memory usage when --idle option kills it