now closing file descriptors explicitly when mocking these requests