Added Method to shutdown MessageHanding