Added ach channel shutdown support, better error handling