Decentralised adaptive-gain control for eliminating epidemic spreading on networks