Thank you page display is delayed