Whenever any person shall wilfully disturb or impede the proceedings of a jury of inquest while inquiring into the cause of any death or shall offer any contempt to the person or authority of the coroner while so engaged the coroner may commit such person to the common jail of the county for a time not exceeding twenty-four hours.

Any person who shall have been at any time duly summoned to attend and serve upon a coroner’s jury who shall neglect or refuse to so attend and serve without proper excuse shall be liable to be punished for contempt and the coroner may punish such contempt by fine not exceeding twenty dollars or imprisonment not more than twenty-four hours, or both, at his discretion.