Section 13. The jailer, superintendent or keeper of a jail or house of correction, except in Suffolk county, may be removed by the superior court for neglect of duty or for wasteful or extravagant use of supplies, upon complaint of the county commissioners, after notice to the sheriff and the person complained of and a hearing.