A primary school near Bicester in Oxfordshire has been forced to shut for the day after an emergency issue.