add close statement to readers