device: prevent callbacks to device users that have been cleaned up already