Reworkkgarbage collection code to use tick
Reworkkgarbage collection code to use tick

Instead of sleeping reworked the code to use recurring ticks.
Also cleaned up unnecessary defers.

Signed-off-by: Jana Radhakrishnan <045898bda7d4800fe4909a9831e702ab79e266be@docker.com>

AkihiroSuda/docker,Ramzec/docker,thaJeztah/docker,Ramzec/docker,AkihiroSuda/docker,AkihiroSuda/docker,moul/docker,yosifkit/docker,trebonian/docker,thaJeztah/docker,Mokolea/docker,djs55/docker,thaJeztah/docker,Ramzec/docker,gnailuy/docker,jthelin/docker,jimjag/docker,bearstech/moby,nawawi/docker,paralin/docker,docker/docker,mahak/docker,vdemeester/docker,bearstech/moby,moby/moby,vdemeester/docker,Mokolea/docker,konstruktoid/docker-upstream,nawawi/docker,gnailuy/docker,flavio/docker,nawawi/docker,nawawi/docker,jimjag/docker,docker/docker,cpuguy83/docker,jimjag/docker,konstruktoid/docker-upstream,nalind/docker,Ramzec/docker,yosifkit/docker,trebonian/docker,moby/moby,flavio/docker,konstruktoid/docker-upstream,paralin/docker,flavio/docker,jthelin/docker,bearstech/moby,jimjag/docker,trebonian/docker,jameszhan/docker,mahak/docker,djs55/docker,nalind/docker,paralin/docker,moul/docker,cpuguy83/docker,mahak/docker,djs55/docker,konstruktoid/docker-upstream,paralin/docker,AkihiroSuda/docker,vdemeester/docker,cpuguy83/docker,moul/docker,docker/docker,jameszhan/docker,gnailuy/docker,bearstech/moby,jameszhan/docker,moby/moby,thaJeztah/docker,moul/docker,Mokolea/docker,trebonian/docker,yosifkit/docker,nalind/docker,yosifkit/docker,nalind/docker,gnailuy/docker,flavio/docker,Mokolea/docker,cpuguy83/docker,moby/moby,mahak/docker