Garbage collection

hah just wrote this same code: https://github.com/taskcluster/docker-worker/pull/41/files#diff-397a60d8577e482a558bd98970533773R4