DDLSHELL-73. cleanup resource leak in integration test

issue: https://jira.kiji.org/browse/DDLSHELL-73
review: https://review.kiji.org/r/1865