Kill the delay function wrapper on the loading state