Make sure to close server channels in the case of exceptions