Fixed checking of closed channel before attempting to add credits

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1095 123451ca-8445-de46-9d55-352943316053
2 files changed