Jack-in-the-box forced to close after a fire broke out