trash bin with no race condition