If an effect allows In Thrall to the Pit to be cast during the end step and it is kicked, you will gain control of the target creature until this turn ends. The delayed triggered ability will trigger at the beginning of the next turn's end step, but you won't be able to sacrifice that creature because you no longer control it.