The device now saves a reference to all the deferred contexts. This ensures us that the bound resources are released in the correct thread.