Adding a hook to allow modules to stop an entity from being queued.