remove resourceFromCloseable

This is provided in 7.1, no need for it here